﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.Data;
using BLToolkit.Data.Linq;
using BLToolkit.DataAccess;
using BLToolkit.EditableObjects;
using BLToolkit.Mapping;
using BLToolkit;
using System.Reflection;

namespace DrugStore.Objects
{
    [TableName("tb_SanPham")]
    class tb_SanPham
    {
        [MapField("ID"), PrimaryKey, NonUpdatable]
        public static int ID { get; set; }
        public static string TenThuoc { get; set; }
        public static int ID_NhoSanPham_1 { get; set; }
        public static int ID_NhoSanPham_2 { get; set; }
        public static int ID_NhoSanPham_3 { get; set; }
        public static int ID_NhoSanPham_4 { get; set; }
        public static int ID_NhoSanPham_5 { get; set; }
        public static int ID_DvMua { get; set; }
        public static int ID_DvBan { get; set; }
        public static float GiaMua { get; set; }
        public static float GiaBan { get; set; }
        public static int ID_NhaSanXua { get; set; }
        public static int ID_NhaPhanPhoi { get; set; }
        public static DateTime HanSuDung { get; set; }
        public static string CongDung { get; set; }
        public static string CachDung_LieuDung { get; set; }
        public static string ChongChiDinh { get; set; }
        public static string DieuKienBaoQuan { get; set; }
        public static int SoLuongTonKhoToiThieu { get; set; }
        public static int ID_DonViTonKho { get; set; }
        public static DateTime NgayNhapHang { get; set; }
        public static int ID_PhieuNhapHang { get; set; }
        public static int ID_NguoiTao { get; set; }
        public static DateTime NgayTao { get; set; }
        public int Deleted { get; set; }
        public DateTime DeletedDate { get; set; }
    }
}
